export interface Piece {
  id: number
  name: string
  avatar: string
  group: string
  score: number
  props: string
  alias: string
  describe: string
  status: number
  type: number
}
export interface PieceProps {
  id: number
  name: string
  title: string
  levels: string
  describe: string
  status: number
}
export interface PieceComponent {
  id: number
  category: string
  name: string
  avatar: string
  score: number
  content: string
  status: number
}
export interface PieceComponentPack {
  id: number
  name: string
  title: string
  avatar: string
  score: number
  content: string
  status: number
  created_at: string
  created_by: number
  updated_at: string
  updated_by: number
}

export interface PieceAnalysis {
  id: number
  title: string
  scores: (number | undefined)[]
  // 一行的总分【同类】
  result: number
  //效果
  effect: string
}

export interface PieceComponentPack {
  id: number
  name: string
  title: string
  avatar: string
  score: number
  content: string
  status: number
  created_at: string
  created_by: number
  updated_at: string
  updated_by: number
}
